import request from '@/utils/request'

// 查询wbs清单变更主列表
export function listBgBsBg(query) {
  return request({
    url: '/jl_bg/bgBsBg/list',
    method: 'get',
    params: query
  })
}

// 查询wbs清单变更主详细
export function getBgBsBg(bgId) {
  return request({
    url: '/jl_bg/bgBsBg/' + bgId,
    method: 'get'
  })
}

// 新增wbs清单变更主
export function addBgBsBg(data) {
  return request({
    url: '/jl_bg/bgBsBg',
    method: 'post',
    data: data
  })
}

// 修改wbs清单变更主
export function updateBgBsBg(data) {
  return request({
    url: '/jl_bg/bgBsBg',
    method: 'put',
    data: data
  })
}

// 删除wbs清单变更主
export function delBgBsBg(bgId) {
  return request({
    url: '/jl_bg/bgBsBg/' + bgId,
    method: 'delete'
  })
}
